﻿@model SimpleScrum.Models.LoginModel
@{
    ViewBag.Title = "Log In";
}

<div class="row-fluid">
    <div class="span12">
        <div class="span10 offset1">
            <hgroup class="title">
                <h2>@ViewBag.Title</h2>
                @*<h3 class="title message">@ViewBag.Message</h3>*@
            </hgroup>
        </div>
        <div class="span10 offset1">
            <div class="span7">
                <div class="span12 bg-img-login fixed-height6">
                    <br/><br/><br/><br/><br/><br/><br/>
                    <div class="span10 offset1 thumbnail bg-color-gold"><br/>&nbsp;&nbsp;
                        <span class="btn btn-success">
                            <span class="unlink">@Html.ActionLink("Register", "Register") </span>
                        </span>&nbsp;&nbsp;
                        <span class="text-error"><b>if You are New OR don't have an Account.&nbsp;</b></span><br/><br/>
                    </div>
                </div>
            </div>
            <div class="span4 offset1 thumbnail">
                <div class="border">
                    <section id="loginForm" class="popover-title">
                        <fieldset>
                            <legend>Log in using local account</legend>
                            @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
                                @Html.AntiForgeryToken()
                                <div class="text-error">@Html.ValidationSummary(true)</div>
                                <div class="control-group">
                                    <span class="control-label" >@Html.LabelFor(m => m.Email)</span>
                                    <div class="controls">
                                        @Html.EditorFor(m => m.Email)
                                        <div class="text-warning">@Html.ValidationMessageFor(m => m.Email)</div>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <span class="control-label" >@Html.LabelFor(m => m.Password)</span>
                                    <div class="controls">
                                        @Html.PasswordFor(m => m.Password)
                                        <div class="text-warning">@Html.ValidationMessageFor(m => m.Password)</div>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <div class="checkbox">
                                        @Html.CheckBoxFor(m => m.RememberMe)
                                        @Html.LabelFor(m => m.RememberMe)
                                    </div><br/>
                                    <div class="controls">
                                        <input  class="btn btn-primary" type="submit" value="Log in" />&nbsp;
                                        @Html.ActionLink("forget password?", "ForgotPassword")
                                    </div>
                                </div>
                            }
                        </fieldset>
                    </section>
                    <div class="text-center title">----- OR -----</div>
                    <div class="form-horizontal">
                        <section id="socialLoginForm" class="popover-title">
                            @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
                        </section>
                    </div>
                </div>
            </div>
        </div>
    </div>

    @*<div class="span11">
        <div class="span12 modal-header title-text">
            <p class="text-justify">"Today, scrum is used by companies large and small, including:
                Yahoo! Microsoft Oracle Google Apple Lockheed-Martin Johns-Hopkins-APL Samsung Siemens Nokia
                Motorola SAP Cisco GE Capital-One US-FederalReserve"</p>
        </div>
    </div>*@
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
